package com.zy;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @program: zhengyang
 * @author: LuoXin
 * @create: 2018-12-17 22:38
 * @description: web容器中进行部署
 */

public class ZhengYangServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(ZhengYangApplication.class);
    }
}
